@extends('admin.layouts.app')

@section('TopBar')
<ul class="topbar-left">
	<li>
		<h5 style="padding-top:5px;text-align:left">Welcome to FinaloveAdmin</h5>
		<h5 style="text-indent:4rem;text-align:right">——Version = 1.0</h5>
	</li>
</ul>
<ul class="topbar-right">
	<li>
		<el-dropdown>
			<span class="el-dropdown-link">
				<el-badge :value="200" :max="99">
				<img id="HeadPic" src="{{session('user_info')['head']}}" width="40" height="40">
				</el-badge>
			</span>
			<el-dropdown-menu slot="dropdown">
				<h5 align="center">{{session('user_info')['real_name']}}</h5>
				<hr style="margin:0">
				<a href="#">
					<el-dropdown-item>
						<i class="fa fa-user"></i>
						个人中心
					</el-dropdown-item>
				</a>
				<a href="#">
					<el-dropdown-item>
						<i class="fa fa-bell"></i>
						我的消息
					</el-dropdown-item>
				</a>
				<a href="{{url('admin')}}">
					<el-dropdown-item>
						<i class="fa fa-desktop"></i>
						返回首页
					</el-dropdown-item>
				</a>
				<a href="{{url('admin/login/logout')}}">
					<el-dropdown-item>
						<i class="fa fa-sign-out"></i>
						安全退出
					</el-dropdown-item>
				</a>
			</el-dropdown-menu>
		</el-dropdown>
	</li>
	<li>
		<el-tooltip class="item" effect="dark" content="返回" open-delay="500" hide-after="1500" placement="bottom">
			<el-button class="opt-btn" round icon="el-icon-back" type="info" plain size="small"
				@click="history.go(-1);"></el-button>
		</el-tooltip>
		<el-tooltip class="item" effect="dark" content="刷新" open-delay="500" hide-after="1500" placement="bottom">
			<el-button class="opt-btn" round icon="el-icon-refresh" type="info" plain  size="small"
				@click="window.location.reload();"></el-button>
		</el-tooltip>
	</li>
	<li>

	</li>
</ul>
<script type="text/javascript">
var TopBar = new Vue({
	el:"#TopBar",
	data:{

	},
	methods:{
		
	}
})
</script>
@endsection
